package cc.comac.mom.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

import cc.comac.mom.api.QualityQarTaskPendingMessageService;
import cc.comac.mom.bean.QualityQarTaskPendingMessage;
import cc.comac.mom.util.ResultBean;

@RestController
@RequestMapping("/QualityQarTaskPendingMessage")
public class QualityQarTaskPendingMessageController {
	@Autowired
	private QualityQarTaskPendingMessageService qualityQarTaskPendingMessageService;
	
	
	@RequestMapping(value = "/selectBySomeField",method = RequestMethod.POST)
	public ResultBean selectBySomeField(@RequestBody QualityQarTaskPendingMessage qualityQarTaskPendingMessage) {
		ResultBean selectBySomeField = qualityQarTaskPendingMessageService.selectBySomeField(qualityQarTaskPendingMessage);
		return selectBySomeField;
	}
}
